import { IMDCtrlModel } from './i-md-ctrl-model';
import { ITreeNodeModel } from './i-tree-node-model';
import { ITreeNodeRsModel } from './i-tree-node-rs-model';

/**
 * 树部件模型接口
 *
 * @export
 * @interface ITreeModel
 * @extends {IMDCtrlModel}
 */
export interface ITreeModel extends IMDCtrlModel {
	/**
	 * 是否显示根节点
	 *
	 * @type {boolean}
	 * @memberof ITreeModel
	 */
	rootVisible: boolean;

	/**
	 * 树节点集合
	 *
	 * @type {ITreeNodeModel[]}
	 * @memberof ITreeModel
	 */
	treeNodes: ITreeNodeModel[];

	/**
	 * 树节点关系集合
	 *
	 * @type {ITreeNodeRsModel[]}
	 * @memberof ITreeModel
	 */
	treeNodeRSs: ITreeNodeRsModel[];
}
